home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gxftype.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  1.8 KB  |  52 lines

  1. /* Copyright (C) 1997, 1998 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gxftype.h,v 1.2 2000/09/19 19:00:37 lpd Exp $ */
  20. /* Definition of font type and bitmap font behavior */
  21.  
  22. #ifndef gxftype_INCLUDED
  23. #  define gxftype_INCLUDED
  24.  
  25. /* Define the known font types. */
  26. /* These numbers must be the same as the values of FontType */
  27. /* in font dictionaries. */
  28. typedef enum {
  29.     ft_composite = 0,
  30.     ft_encrypted = 1,
  31.     ft_encrypted2 = 2,
  32.     ft_user_defined = 3,
  33.     ft_disk_based = 4,
  34.     ft_CID_encrypted = 9,    /* CIDFontType 0 */
  35.     ft_CID_user_defined = 10,    /* CIDFontType 1 */
  36.     ft_CID_TrueType = 11,    /* CIDFontType 2 */
  37.     ft_Chameleon = 14,
  38.     ft_CID_bitmap = 32,        /* CIDFontType 4 */
  39.     ft_TrueType = 42
  40. } font_type;
  41.  
  42. /* Define the bitmap font behaviors. */
  43. /* These numbers must be the same as the values of the ExactSize, */
  44. /* InBetweenSize, and TransformedChar entries in font dictionaries. */
  45. typedef enum {
  46.     fbit_use_outlines = 0,
  47.     fbit_use_bitmaps = 1,
  48.     fbit_transform_bitmaps = 2
  49. } fbit_type;
  50.  
  51. #endif /* gxftype_INCLUDED */
  52.